package com.deruan.hotcore.base.common.service;

import com.deruan.hotcore.base.common.bean.ContactBean;
import com.deruan.hotcore.common.exception.AccessDeniedException;

public interface ContactService extends EntityService<ContactBean, Integer>
{
	ContactBean findByUserId(Integer userId) throws AccessDeniedException;
	
	ContactBean findByPreferredEmail(String email) throws AccessDeniedException;
}
